
package edu.wpi.first.wpilibj.templates.commands;

import edu.wpi.first.wpilibj.templates.subsystems.Arm;
import edu.wpi.first.wpilibj.Victor;


public class ArmDown extends CommandBase {
    private static final float MOTOR_SPEED = .25f;
    public static Victor armMotor = new Victor(5);
    
    public ArmDown() {
        super("ArmDown");
        requires(arm);
        
    }

  
    protected void initialize() { 
        armMotor.set(MOTOR_SPEED);
    }


    protected void execute() {
    }

    
    protected boolean isFinished() {
        return arm.isFullyDown();
    }

    
    protected void end() {
        armMotor.set(0);
    }

    
    protected void interrupted() {
        armMotor.set(0);
    }
}
